package com.woniuxy01;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-08-27 9:27
 */
public class Test03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入java成绩");
        int java = sc.nextInt();
        System.out.println("输入html成绩");
        int html = sc.nextInt();


        if((java>=95&&html>=90)||((java==100)&&(html>=80))){
            System.out.println("考得好，奖励");
        }else{
            System.out.println("考得差，惩罚");
        }

        System.out.println("程序结束");
    }
}
